package org.example.viteVantDemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("t_user_assets_log")
public class UserAssetsLog {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer fromUserId;

    private Integer toUserId;

    private String assetsSerialNo;

    private BigDecimal amount;

    private BigDecimal startBalance;

    private BigDecimal endBalance;

    private String assetsCode;

    private LocalDateTime createTime;

    private Integer status;
}